package cn.stonemind.smu.system.service.impl;

import cn.stonemind.smu.system.mapper.UserMapper;
import cn.stonemind.smu.system.service.UserService;
import cn.stonemind.smu.common.entity.system.User;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class UserServiceImpl implements UserService {

    @Autowired
    private UserMapper userMapper;

    @Override
    public User get(Long id) {
        return this.userMapper.getUser(id);
    }
}
